<template>
  <router-view></router-view>
  <!--  <div>-->
  <!--    <router-link to="/">首页</router-link> |-->
  <!--    <router-link to="/about">关于</router-link>-->
  <!--  </div>-->
  <!--  <router-view v-slot="{ Component }">-->
  <!--    <transition name="route" mode="out-in">-->
  <!--      <component :is="Component"></component>-->
  <!--    </transition>-->
  <!--  </router-view>-->
</template>

<script setup>
  // This starter template is using Vue 3 <script setup> SFCs
  // Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup

</script>

<style>
body,html {
  padding: 0;
  margin: 0;
  height: 100%;
}
.menu-header {
  padding: 0 !important;
  border-bottom: 1px solid #666;
}

#app {
  height: 100%;
  overflow-x: hidden;
}

#my-container {
  height: 100%;
}

.route-enter-from {
  opacity: 0;
  transform: translateX(200px);
}

.route-leave-to {
  opacity: 0;
  transform: translateX(-200px);
}

.route-enter-active {
  transition: all .5s ease-out;
}

.route-leave-active {
  transition: all .5s ease-in;
}

.el-header, .el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
}

body > .el-container {
  margin-bottom: 40px;
}
</style>
